package com.kim.smartring.activity.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;

import com.kim.smartring.R;

/**
 * 注册页
 * 
 */
public class RegisterFragment extends BaseFragment {
	private EditText edt_phone;
	private EditText edt_code;
	private EditText edt_password1;
	private EditText edt_password2;
	private Button btn_getCodeAgaint;
	private ImageView img_ok;
	private ImageView img_cancel;

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View v = inflater.inflate(R.layout.register_layout, null);

		edt_phone = (EditText) v.findViewById(R.id.edt_phone);
		edt_code = (EditText) v.findViewById(R.id.edt_code);
		edt_password1 = (EditText) v.findViewById(R.id.edt_password1);
		edt_password2 = (EditText) v.findViewById(R.id.edt_password2);

		btn_getCodeAgaint = (Button) v.findViewById(R.id.btn_get_code_again);
		img_ok = (ImageView) v.findViewById(R.id.img_ok);
		img_cancel = (ImageView) v.findViewById(R.id.img_cancel);

		img_ok.setOnClickListener(this);
		img_cancel.setOnClickListener(this);
		btn_getCodeAgaint.setOnClickListener(this);
		return v;
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.img_ok:

			break;
		case R.id.img_cancel:

			break;
		case R.id.btn_get_code_again:

			break;

		default:
			break;
		}
	}

}